package com.yitiao.consumer;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

@Configuration
@ConfigurationProperties("mq-consumer")
@Data
public class ConsumerQueueConfig {

    private List<String> queues = new ArrayList<>();

    private Boolean enabled = true;

}
